package com.shiguiwu.springmybatis.designpattern.prototype.scene;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @description: 选择题
 * @author: stone
 * @date: Created by 2021/8/17 23:33
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.prototype.scene
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChoiceQuestion extends AnswerQuestion {


    /**
     * 选项
     */
    private Map<String, String> option;

    public ChoiceQuestion(String name, Map<String, String> option, String key) {
        super(name, key);
        this.option = option;
    }
}
